package com.his.finance.vo;

import com.his.common.verification.group.Insert;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class FinInvoiceStoreVo {
    /**
     *
     * null
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "收据类型不能为空")
    private String invtype;

    /**
     *
     * null
     *
     * @mbggenerated
     */
//    @NotEmpty(message = "操作人员编码不能为空")
    private String invempid;
    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotNull(message = "发票总数不能为空",groups = Insert.class)
    private Integer invcount;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotEmpty(message = "发票起止号不能为空",groups = Insert.class)
    private String invstr;

    /**
     *
     * null
     *
     * @mbggenerated
     */
    @NotEmpty(message = "发票当前号不能为空",groups = Insert.class)
    private String invnow;
}
